package com.yang.demo.config.security;/*package com.eme.server.config.security;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

*//**
 * 配置头像的虚拟路径来映射文件所在的真实路径
 * @author: eme
 * @since: 2022/3/18
 *//*
@Configuration
public class MyWebConfig implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/file/**").addResourceLocations("file:E:\\PTUElectricityDetection\\houduan\\ptuelec\\ptuelec-server\\src\\main\\resources\\static\\userFace\\");
    }
}*/

